package com.wjy.common.application;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author ybxxszl
 * @desc 项目启动后自动执行
 * @date 2019/8/15
 */
@Log4j2
@Component
public class CommandLineRunnerHandler implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        log.info("CommandLineRunner运行中");
    }

}
